package engine.display.Story
{
	import engine.display.Story.ActionControl.TalkActionPlay;
	
	import flash.display.MovieClip;
	import flash.display.Sprite;
	import flash.geom.Point;

	public class StoryVo
	{
		private var _type:int;
		private var _count:int;
		private var _NpcConfigID:String;
		private var _Name:String;
		private var _ImageID:String;
		private var _TextAlign:int;
		private var _TalkInfo:String;
		private var _ImageAlign:int;
		private var _NpcStartPoint:Point;
		private var _NpcEndPoint:Point;
		private var _IconType:String;
		private var _dataArray:Array;
		private var _actionNPC:TalkActionPlay;
		private var _swfURL:String;
		
		public function StoryVo()
		{
			_dataArray	=	[];
			_NpcStartPoint	=	new Point();
			_NpcEndPoint	=	new Point();
			_actionNPC		=	new TalkActionPlay();
		}

		/**对象数量*/
		public function get count():int
		{
			return _count;
		}

		/**
		 * @private
		 */
		public function set count(value:int):void
		{
			_count = value;
		}

		/**对象ID号对象编号*/
		public function get NpcConfigID():String
		{
			return _NpcConfigID;
		}

		/**
		 * @private
		 */
		public function set NpcConfigID(value:String):void
		{
			_NpcConfigID = value;
		}

		/**人物名称*/
		public function get Name():String
		{
			return _Name;
		}

		/**
		 * @private
		 */
		public function set Name(value:String):void
		{
			_Name = value;
		}

		/**NPC半身像*/
		public function get ImageID():String
		{
			return _ImageID;
		}

		/**
		 * @private
		 */
		public function set ImageID(value:String):void
		{
			_ImageID = value;
		}

		/**文本位置*/
		public function get TextAlign():int
		{
			return _TextAlign;
		}

		/**
		 * @private
		 */
		public function set TextAlign(value:int):void
		{
			_TextAlign = value;
		}

		/**对话内容*/
		public function get TalkInfo():String
		{
			return _TalkInfo;
		}

		/**
		 * @private
		 */
		public function set TalkInfo(value:String):void
		{
			_TalkInfo = value;
		}

		/**图片对齐方式，是在左边，还是在右边*/
		public function get ImageAlign():int
		{
			return _ImageAlign;
		}

		/**
		 * @private
		 */
		public function set ImageAlign(value:int):void
		{
			_ImageAlign = value;
		}

		/**人物初始坐标*/
		public function get NpcStartPoint():Point
		{
			return _NpcStartPoint;
		}

		/**
		 * @private
		 */
		public function set NpcStartPoint(val:Point):void
		{
			_NpcStartPoint.x	=	val.x;
			_NpcStartPoint.y	=	val.y;
		}

		/**人物移动结束坐标*/
		public function get NpcEndPoint():Point
		{
			return _NpcEndPoint;
		}

		/**
		 * @private
		 */
		public function set NpcEndPoint(val:Point):void
		{
			_NpcEndPoint.x	=	val.x;
			_NpcEndPoint.y	=	val.y;
		}

		/**对话的表情，默认为0，一个聊天泡泡表情*/
		public function get IconType():String
		{
			return _IconType;
		}

		/**
		 * @private
		 */
		public function set IconType(value:String):void
		{
			_IconType = value;
		}

		/**当前动作类型*/
		public function get type():int
		{
			return _type;
		}

		/**
		 * @private
		 */
		public function set type(value:int):void
		{
			_type = value;
		}

		public function get dataArray():Array
		{
			return _dataArray;
		}

		public function get actionNPC():TalkActionPlay
		{
			return _actionNPC;
		}

		public function set actionNPC(value:TalkActionPlay):void
		{
			_actionNPC = value;
		}

		/**剧情动画*/
		public function get swfURL():String
		{
			return _swfURL;
		}

		/**
		 * @private
		 */
		public function set swfURL(value:String):void
		{
			_swfURL = value + ".swf";
		}


	}
}